package com.currency.mall.ui.main.inquiry;

import com.currency.mall.entity.CapitalFlowBean;
import com.currency.mall.entity.SecurityBean;
import com.currency.mall.entity.SharesBean;
import com.mifengs.commonbase.base.BasePresenter;
import com.mifengs.commonbase.base.BaseView;

import java.util.List;

/**
 * Created by Administrator on 2018/12/22.
 */

public interface InquiryContract {
    interface View extends BaseView {

        void setSharesData(List<SharesBean.SharesInfo> sharesInfos,boolean isLoadOver,boolean isTimer);
        void setSecurityData(List<SecurityBean.SecurityInfo> securityInfos);
        void finishRefresh();
        void collectSharesId( String str[],boolean collect,boolean isTimer);
        void refresh();
        void toLogin();


    }
    interface Presenter extends BasePresenter {

        void getBondInfo(int page , boolean isTimer);
        void collectSharesInfo(String sharesId);
        void cancelCollectShares(String sharesId);
        void securityInfo();
        void getCollectSharesId(boolean collect,boolean isTimer);

    }

}
